package kr.co.doriclassic.pro11;

public class Customer extends Person {
	private String cNumber;
	private int mileage;
	public Customer(String name, String address, String phone) {
		super(name, address, phone);
	}
	public Customer(String cNumber, int mileage,String name, 
			String address, String phone) {
		super(name, address, phone);
		this.cNumber = cNumber;
		this.mileage = mileage;
	}
	public String getcNumber() {
		return cNumber;
	}
	public int getMileage() {
		return mileage;
	}
	@Override
	public String toString() {
		return "Customer [getcNumber()=" + getcNumber() + ", getMileage()="
				+ getMileage() + ", getName()=" + getName() + ", getAddress()="
				+ getAddress() + ", getPhone()=" + getPhone() + "]";
	}	
}
